package conf

type Mysql struct {
	Host   string
	Port   int
	User   string
	Pass   string
	DbName string
	Prefix string
	Base   struct{}
}

/*type Mysql struct {
	Read struct {
		Host        string `yaml:"host"`
		Port        int    `yaml:"port"`
		User        string `yaml:"user"`
		Pwd         string `yaml:"pass"`
		Name        string `yaml:"name"`
		TablePrefix string `yaml:"prefix"`
	} `yaml:read`
	Write struct {
		Host        string `yaml:"host"`
		Port        int    `yaml:"port"`
		User        string `yaml:"user"`
		Pwd         string `yaml:"pass"`
		Name        string `yaml:"name"`
		TablePrefix string `yaml:"prefix"`
	} `yaml:write`
	Base struct {
		MaxOpenConn     int           `yaml:"maxOpenConn"`
		MaxIdleConn     int           `yaml:"maxIdleConn"`
		ConnMaxLifeTime time.Duration `yaml:"connMaxLifeTime"`
		Timezone        string        `yaml:"timezone"`
	}
}*/
